//
//  NoCollectionCell.m
//  IntimateGift
//
//  Created by 张科 on 15-1-15.
//  Copyright (c) 2015年 蔡宏业. All rights reserved.
//

#import "NoCollectionCell.h"

@implementation NoCollectionCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)dealloc
{
    [_collectLabel release];
    [super dealloc];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.collectLabel = [[[UILabel alloc] init] autorelease];
        [self.contentView addSubview:self.collectLabel];
        self.collectLabel.textAlignment = 1;
        self.collectLabel.font = [UIFont systemFontOfSize:25];
        
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.collectLabel.frame = CGRectMake(10, 0, self.contentView.bounds.size.width - 10, self.contentView.bounds.size.height);
    
}
@end
